package cc.rengu.oltp.service.model;

import cc.rengu.oltp.service.common.enums.PinTypeEnum;

import java.io.Serializable;

/**
 * 密码相关信息实体类
 * Created by wangcheng on 2021/3/25 15:27
 */
public class PasswordInfo implements Serializable {
    private String userId;        /* 用户账户标识 */
    private String targetUserId;  /* 目标用户账户标识 */
    private PinTypeEnum passwordType;  /* 密码类型 */
    private String passwordValue; /* 原始密码值 */

    public PasswordInfo() {
    }

    public PasswordInfo(String userId, PinTypeEnum passwordType, String passwordValue) {
        this.userId = userId;
        this.passwordType = passwordType;
        this.passwordValue = passwordValue;
    }

    public PasswordInfo(String userId, String targetUserId, PinTypeEnum passwordType, String passwordValue) {
        this.userId = userId;
        this.targetUserId = targetUserId;
        this.passwordType = passwordType;
        this.passwordValue = passwordValue;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(String targetUserId) {
        this.targetUserId = targetUserId;
    }

    public PinTypeEnum getPasswordType() {
        return passwordType;
    }

    public void setPasswordType(PinTypeEnum passwordType) {
        this.passwordType = passwordType;
    }

    public String getPasswordValue() {
        return passwordValue;
    }

    public void setPasswordValue(String passwordValue) {
        this.passwordValue = passwordValue;
    }
}
